import request from '@/utils/request'

// 查询台账记录1列表
export function listStandingbook(query) {
  return request({
    url: '/system/standingbook/list',
    method: 'get',
    params: query
  })
}

// 查询台账记录1详细
export function getStandingbook(recordId) {
  return request({
    url: '/system/standingbook/' + recordId,
    method: 'get'
  })
}

// 新增台账记录1
export function addStandingbook(data) {
  return request({
    url: '/system/standingbook',
    method: 'post',
    data: data
  })
}

// 修改台账记录1
export function updateStandingbook(data) {
  return request({
    url: '/system/standingbook',
    method: 'put',
    data: data
  })
}

// 删除台账记录1
export function delStandingbook(recordId) {
  return request({
    url: '/system/standingbook/' + recordId,
    method: 'delete'
  })
}
